package com.epfresh.bean;

import java.util.List;

/**
 * Author: Chen
 * Date: 2019/1/18
 * Desc:
 */
public class HomeTopEntityNew {

    private String cityName;
    private int cityCode;
    private boolean disMore;
    private List<MarketsBean> markets;
    private List<BackgroundsBean> backgrounds;
    private List<DistributionBean> distribution;
    private List<BannersBean> banners;

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public int getCityCode() {
        return cityCode;
    }

    public void setCityCode(int cityCode) {
        this.cityCode = cityCode;
    }

    public boolean isDisMore() {
        return disMore;
    }

    public void setDisMore(boolean disMore) {
        this.disMore = disMore;
    }

    public List<MarketsBean> getMarkets() {
        return markets;
    }

    public void setMarkets(List<MarketsBean> markets) {
        this.markets = markets;
    }

    public List<BackgroundsBean> getBackgrounds() {
        return backgrounds;
    }

    public void setBackgrounds(List<BackgroundsBean> backgrounds) {
        this.backgrounds = backgrounds;
    }

    public List<DistributionBean> getDistribution() {
        return distribution;
    }

    public void setDistribution(List<DistributionBean> distribution) {
        this.distribution = distribution;
    }

    public List<BannersBean> getBanners() {
        return banners;
    }

    public void setBanners(List<BannersBean> banners) {
        this.banners = banners;
    }

    public static class MarketsBean {

        private String name;
        private int storeCount;
        private String logo;
        private int id;
        private String shortName;
        private int productCount;
        private List<CategoryCntBean> categoryCnt;
        private List<String> dynamic;
        private boolean changBg;
        private String bgUrl;

        public String getBgUrl() {
            return bgUrl;
        }

        public void setBgUrl(String bgUrl) {
            this.bgUrl = bgUrl;
        }

        public boolean isChangBg() {
            return changBg;
        }

        public void setChangBg(boolean changBg) {
            this.changBg = changBg;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getStoreCount() {
            return storeCount;
        }

        public void setStoreCount(int storeCount) {
            this.storeCount = storeCount;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getShortName() {
            return shortName;
        }

        public void setShortName(String shortName) {
            this.shortName = shortName;
        }

        public int getProductCount() {
            return productCount;
        }

        public void setProductCount(int productCount) {
            this.productCount = productCount;
        }

        public List<CategoryCntBean> getCategoryCnt() {
            return categoryCnt;
        }

        public void setCategoryCnt(List<CategoryCntBean> categoryCnt) {
            this.categoryCnt = categoryCnt;
        }

        public List<String> getDynamic() {
            return dynamic;
        }

        public void setDynamic(List<String> dynamic) {
            this.dynamic = dynamic;
        }

        public static class CategoryCntBean {

            private String icon_url;
            private String name;
            private int id;
            private int productCount;

            public String getIcon_url() {
                return icon_url;
            }

            public void setIcon_url(String icon_url) {
                this.icon_url = icon_url;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getProductCount() {
                return productCount;
            }

            public void setProductCount(int productCount) {
                this.productCount = productCount;
            }
        }
    }

    public static class BackgroundsBean {

        private String sequence;
        private String img;
        private int positionNum;
        private String ratioStr;
        private String title;
        private String imgExtendPath;
        private String content;
        private String functionItem;
        private String ratio;

        public String getSequence() {
            return sequence;
        }

        public void setSequence(String sequence) {
            this.sequence = sequence;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public int getPositionNum() {
            return positionNum;
        }

        public void setPositionNum(int positionNum) {
            this.positionNum = positionNum;
        }

        public String getRatioStr() {
            return ratioStr;
        }

        public void setRatioStr(String ratioStr) {
            this.ratioStr = ratioStr;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getImgExtendPath() {
            return imgExtendPath;
        }

        public void setImgExtendPath(String imgExtendPath) {
            this.imgExtendPath = imgExtendPath;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getFunctionItem() {
            return functionItem;
        }

        public void setFunctionItem(String functionItem) {
            this.functionItem = functionItem;
        }

        public String getRatio() {
            return ratio;
        }

        public void setRatio(String ratio) {
            this.ratio = ratio;
        }
    }

    public static class DistributionBean {

        private String name;
        private String logo;
        private int id;
        private int productCount;
        private String goodCommentsRate;
        private int isPublicOffer;//是否开启公开报价（0：禁用，1：开启）
        private int customerStatus;//客户状态（0：禁用，1：申请中，2：启用，null：非客户）注：2：显示会员角标其他不显示

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getProductCount() {
            return productCount;
        }

        public void setProductCount(int productCount) {
            this.productCount = productCount;
        }

        public String getGoodCommentsRate() {
            return goodCommentsRate;
        }

        public void setGoodCommentsRate(String goodCommentsRate) {
            this.goodCommentsRate = goodCommentsRate;
        }

        public int getIsPublicOffer() {
            return isPublicOffer;
        }

        public void setIsPublicOffer(int isPublicOffer) {
            this.isPublicOffer = isPublicOffer;
        }

        public int getCustomerStatus() {
            return customerStatus;
        }

        public void setCustomerStatus(int customerStatus) {
            this.customerStatus = customerStatus;
        }
    }

    public static class BannersBean {
        /**
         * sequence :
         * img :
         * positionNum : 1
         * ratioStr :
         * title : 测试活动—2-1127
         * imgExtendPath :
         * content : 测试活动—2-1127
         * functionItem :
         * ratio :
         * link  : https://www.126.com
         */

        private String sequence;
        private String img;
        private int positionNum;
        private String ratioStr;
        private String title;
        private String imgExtendPath;
        private String content;
        private String functionItem;
        private String ratio;
        private String link;

        public String getSequence() {
            return sequence;
        }

        public void setSequence(String sequence) {
            this.sequence = sequence;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public int getPositionNum() {
            return positionNum;
        }

        public void setPositionNum(int positionNum) {
            this.positionNum = positionNum;
        }

        public String getRatioStr() {
            return ratioStr;
        }

        public void setRatioStr(String ratioStr) {
            this.ratioStr = ratioStr;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getImgExtendPath() {
            return imgExtendPath;
        }

        public void setImgExtendPath(String imgExtendPath) {
            this.imgExtendPath = imgExtendPath;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getFunctionItem() {
            return functionItem;
        }

        public void setFunctionItem(String functionItem) {
            this.functionItem = functionItem;
        }

        public String getRatio() {
            return ratio;
        }

        public void setRatio(String ratio) {
            this.ratio = ratio;
        }

        public String getLink() {
            return link;
        }

        public void setLink(String link) {
            this.link = link;
        }
    }
}
